package com.example.liuxing.jdmall.fragement;

import android.app.Fragment;
import android.os.Handler;
import android.os.Message;

import com.example.liuxing.jdmall.controller.BaseController;

/**
 * Created by liuxing on 2017/7/18.
 */

public abstract class BaseFragment extends Fragment { // Fragment

    protected BaseController mController;

    protected Handler mHandler = new Handler() {

        public void handleMessage(android.os.Message msg) {
            handlerMessage(msg);
        }

    };

    protected abstract void initUI();

    protected void handlerMessage(Message msg) {
        // default Empty implementn
    }

    protected void initController() {
        // default Empty implementn
    }

}
